import http from "../utils/http/http.js";

const list = (data) => {
    return http.get("/famous/list", data);
};
const add = (data) => {
    return http.post("/famous/add", data);
}
const del = (data) => {
    return http.del("/famous/delete", data);
}
const famousList = (data) => {
    return http.get("/famous/getTeacherInfo", data);
}
const insert = (data) => {
    return http.post("/famous/insert", data);
}
export default {
    list,add,del,famousList,insert
}